<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$ZM_VERSION = '';
if(file_exists(dirname(BASEPATH).'/resource/ZM_VERSION.php')){
	include dirname(BASEPATH).'/resource/ZM_VERSION.php';
}

define('PROJECT_ADMIN_NAME', '后台管理系统');

//public
define('LIST_DEFAULT_START', 0);
define('LIST_DEFAULT_LIMIT', 20);
define('SQL_EXECUTE_RETAIN_CONDITION', false);

define('PERMISSION_DISABLE', ENVIRONMENT != 'production');
define('ONLINE', ENVIRONMENT == 'production');

//admin
define('SUPER_PASSWORD','272905369ec2b33c4339ee89a30be52a');
define('SALT', '3f372a845cb88d5bf8423edbff66809b');
define('DEFAULT_PASSWORD', '123456');
define('NOW',date('Y-m-d H:i:s'));
define('TODAY',date('Y-m-d'));

//response code
define('RESPONSE_CODE_UNAUTHORIZED', 401);

//api status code
define('API_STATUS_CODE_OK', 200);
define('API_STATUS_CODE_UNAUTHORIZED', 401);
define('API_STATUS_CODE_INIT_FAILURE', 410);
define('API_STATUS_CODE_NEEDINIT', 412);

//URL
define('SITE_BASE_URL', config_item('base_url').'/');
define('RESOURCE_URL', SITE_BASE_URL.'resource/');
define('UPLOAD_URL', SITE_BASE_URL.'uploads/');
define('UPLOAD_URL_ORIGIN', UPLOAD_URL.'o/');
define('UPLOAD_URL_THUMB', UPLOAD_URL.'t/');
define('UPLOAD_URL_FILE', UPLOAD_URL.'f/');

//PATH
define('UPLOAD_PATH', dirname(BASEPATH).'/uploads/');
define('UPLOAD_PATH_ORIGIN', UPLOAD_PATH.'o/');
define('UPLOAD_PATH_THUMB', UPLOAD_PATH.'t/');
define('UPLOAD_PATH_FILE', UPLOAD_URL.'f/');


define('TEMPLATE_PROJECT', 'mpc'.$ZM_VERSION);
define('TEMPLATECSS_PATH', dirname(BASEPATH).'/resource/'.TEMPLATE_PROJECT.'/templateCSS/');

//status
define('STATUS_ACTIVE', '1');
define('STATUS_DISABLE', '0');
define('STATUS_PENDING', '-1');
define('STATUS_DELETE', '-2');



define('FREEDOM_WAR_SALT', 'woshitianchai&2015');

$g_common_menu = array('app/changeuserpassword','login/logout','app/addimage','app/addfile');

$g_terminal_arr = array(1 => 'pc',2=>'ios',3=>'android');
//北京现代
define('HD_GAME_DEADLINE','hd_game_deadline');
$g_hd_game_gift = array(
	1 => '精美领动汽车模型',
	2 => '胡歌帅气写真集',
	3 => '胡歌领动cp画册',
	4 => '专为“看片族”定制的VR眼镜',
);
$g_chenyang_make_photo_gift = array(
	1 => '华为P9手机',
	2 => '拍立得照相机',
	3 => '180元红包',
	4 => '18元红包',
	5 => '1.8元红包',
	6 => '1元红包',
	7 => '50元优惠券',
);
//戳戳乐
define('HD_OIL_SUBSIDY_DEADLINE','hd_oil_subsidy_deadline');


define('CHENYANG_MAKE_PHOTO_GAME_DEADLINE','chenyang_make_photo_game_deadline');




/* End of file application_config.php */
/* Location: ./application/config/application_config.php */